//
//  RegisterVC.m
//  hnGovernment
//
//  Created by 安仔 on 17/3/3.
//  Copyright © 2017年 安仔. All rights reserved.
//

#import "RegisterVC.h"
#import "RegisterView.h"
#import "SetUpPswVC.h"
#import "DDbaseNetWork+Login.h"
#import "DDHudHelper.h"
@interface RegisterVC ()<RegisterViewDelegate>
@property (nonatomic, strong) RegisterView *registerView;
@end

@implementation RegisterVC



- (void)viewDidLoad {
    [super viewDidLoad];

    self.view.backgroundColor = [UIColor whiteColor];
    self.title = NSLocalString(@"注册");

    self.registerView = [[RegisterView alloc] initWithFrame:self.view.bounds];
    self.registerView.delegate = self;
    [self.view addSubview:self.registerView];
}


- (void) clickNextBtn {
    SetUpPswVC *setUpPsw = [[SetUpPswVC alloc] init];
    setUpPsw.mobile = self.registerView.phoneTF.text;
    setUpPsw.smsCode = self.registerView.checkTF.text;
    [self.navigationController pushViewController:setUpPsw animated:YES];
    
}

- (void) RegisterViewClickConfirmatBtn {
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
